package com.hb.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hb.commons.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统用户中心表
 * </p>
 *
 * @author zhaojk
 * @since 2021-08-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_admin_user")
@ApiModel(value="AdminUser对象", description="系统用户中心表")
public class AdminUser extends CommonEntity {

    @ApiModelProperty(value = "用户名")
    private String uname;

    @ApiModelProperty(value = "密码")
    private String pword;

    @ApiModelProperty(value = "盐")
    private String saltSource;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "用户类型: 1,超级管理员; 0:普通用户")
    private Integer userType;

    @ApiModelProperty(value = "启用,禁用状态")
    private Integer setups;


}
